<ui:composition xmlns="http://www.w3.org/1999/xhtml"
                xmlns:ui="http://java.sun.com/jsf/facelets"
                xmlns:h="http://java.sun.com/jsf/html"
                xmlns:f="http://java.sun.com/jsf/core"
                xmlns:p="http://primefaces.prime.com.tr/ui">

    <f:subview id="resetEmbutido" rendered="#{fluxoExibicaoLogin.exibitResetSenha}">
        <h:panelGrid columns="1" id="embCadUser" styleClass="center">
            <h:panelGroup id="formCadUser" styleClass="esquerda">
                <h:form id="cadUserForm" styleClass="formularioFundo">
                    <h:panelGrid columns="3" id="pai" styleClass="bvb-font">
                        <f:facet name="header">
                            <h:outputText value="#{msg.cadUserPanelGridTitle3}" styleClass="formularioTitle"/>
                        </f:facet>

                        <h:outputLabel value="#{msg.email}:" id="labelNome" title="#{msg.titleNomeCadUser5}"/>
                        <p:inputText value="#{userAcessoManager.passReset}" id="useremailCad2" required="true"
                                     requiredMessage="#{msg.campoObrigatorio}" title="#{msg.titleEmailCadUser5}" label="#{msg.email}"
                                     maxlength="100" size="30">
                            <f:validateLength minimum="3" maximum="100"/>
                            <f:validator validatorId="emailValidador"/>
                        </p:inputText>
                        <p:message for="useremailCad2"/>
                        
                        <h:outputText value=""/>
                        <p:captcha label="Captcha" language="pt" theme="white" id="captcha"/>
                        <p:message for="captcha"/>
                      

                        <h:outputText value=""/>
                        <h:panelGroup id="buttonGroup">
                            <p:commandLink actionListener="#{userAcessoManager.resetarSenha()}" update="msgLogin,cadUserForm" ajax="false"
                                           title="#{msg.titleButtonSalvarCadUser5}" id="buttonSalvar" styleClass="ui-button_link">
                                <h:graphicImage library="img" name="bt_reset.png"/>
                            </p:commandLink>
                        </h:panelGroup>
                    </h:panelGrid>
                </h:form>
            </h:panelGroup>
        </h:panelGrid>
    </f:subview>
</ui:composition>